package com.panshi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * Hello world!
 *
 */
@SpringBootApplication
@EnableDiscoveryClient // 开启Eureka客户端
@EnableFeignClients // 开启Feign功能
public class WebApp
{
    public static void main( String[] args )
    {
        SpringApplication.run(WebApp.class,args);
        System.out.println( "Hello Web!" );
    }
}
